package cn.mdmm.news;

import org.junit.Test;

import cn.mdmm.base.InterfaceBaseTest;
import cn.mdmm.base.URLCOMMON;

public class NewsTest extends InterfaceBaseTest {

	@Override
	public String getUrl() {
		return URLCOMMON.DEVELOP_URL;
	}
	
	@Test
	public void getTypes() {
		paramMap.put("method", "type.list");
		paramMap.put("sessionKey", "49e23aff2594eafd38a399e9005ce988");
		paramMap.put("pid", "1");
	}
	
	@Test
	public void getNewsList() {
		paramMap.put("method", "news.list");
		paramMap.put("sessionKey", "49e23aff2594eafd38a399e9005ce988");
//		paramMap.put("newsType", "1");
	}
	
	@Test
	public void getNews() {
		paramMap.put("method", "news.get");
		paramMap.put("sessionKey", "2498e860793bf519dfa3da30267d316e");
		paramMap.put("id", "5");
	}
	
	@Test
	public void getAubot() {
		paramMap.put("method", "singlepage.get");
		paramMap.put("sessionKey", "3f8e920359fd77574cbb3e6367966df5");
		paramMap.put("title", "关于我们");
	}
}